package com.sam.chat.mapper;

import com.sam.chat.entity.ChatGroupMemberDao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author sam
 * @since 2023-02-01
 */
@Mapper
public interface ChatGroupMemberMapper extends BaseMapper<ChatGroupMemberDao> {

    ArrayList<Integer> findMemberList(String groupId);

    int deleteMember(String groupId);

    int deleteUserById(String groupId,String userId);

}
